package com.olt.dao.user;

import com.olt.domain.user.OltUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@SuppressWarnings("MybatisXMapperMethodInspection")
public interface UserDao extends JpaRepository<OltUser,Long> {


    OltUser getFirstByUserNameAndHashPassword(String userName,String userPassword);

    OltUser getByUserType( String type);
}
